<?php
/**
 * 声波设备
 */
namespace org\devices;

class SoundDevice implements Device
{
    protected $config = [];

    function __construct($config){
        $this->config = $config;
    }
 
    // 获取设备规则
    public function getOptions() {
        $result = [
            'status' => false,
            'data' => [],
            'msg' => '该设备未实现此接口！'
        ];
        return $result;
    }

    // 配置检查
    public function checkConfig() {
        $result = [
            'status' => false,
            'data' => [],
            'msg' => '该设备未实现此接口！'
        ];
        return $result;
    }

    // 启动设备
    public function start() {
        $result = [
            'status' => false,
            'data' => [],
            'msg' => '该设备未实现此接口！'
        ];
        return $result;
    }

    // 停止设备
    public function stop(){
        $result = [
            'status' => false,
            'data' => [],
            'msg' => '该设备未实现此接口！'
        ];
        return $result;
    }
}
